<?php
/**
 * @copyright meila.com
 * @author shaopu@
 * @name 
 * @param 
 *         $xxx = 作用
 * @static 
 *         XXX = 作用
 * 
 * 
 */
$dir = dirname(dirname(__FILE__));
include($dir.'/__queue_global.php');
include(SERVER_ROOT_PATH.'/include/config/ml_guang_config.php');
include(SERVER_ROOT_PATH.'/include/config/ml_dpoolRsync.php');
$start = time();
ml_run_queue_check(ML_CRONPHP_GUANG_DATA_RSYNC);

echo date('Y-m-d H:i:s');

ml_tool_distrsync::rsync(SYSDEF_DATA_ROOT_PATH , MEILA_RSYNC_TO_DIST_MOD);
ml_tool_distrsync::rsync(SYSDEF_DATA_ROOT_PATH , MEILA_RSYNC_TO_DIST_MOD_TEST);
$cmd = 'cd /data0/meila_data/privdata;rsync -aLvz ./* 10.69.3.73::wwwmeilacom';
system($cmd);


$time = time() - $start;
Tool_logger::debugLog('guang_time' , __FILE__.' '.$time , true);